﻿using System;

namespace RssReaderTemplate.Model
{
    public class LinkFragment : TextFragment
    {
        public LinkFragment(string url, string linkText, bool isBold, bool isItalic)
            : base(linkText, isBold, isItalic)
        {
            _uri = new Uri(url,UriKind.RelativeOrAbsolute);
        }

        private Uri _uri;

        public Uri Uri
        {
            get { return _uri; }
        }

    }

}
